import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'
import Element from 'element-ui';
import { Message } from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(Element);
Vue.config.productionTip = false
    // 导入封装的HTTP文件，（自动添加、存储token）
import http from './http/http.js';
Vue.prototype.axios = http;
// 导入QS库，用于转换请求的参数；
import qs from 'qs';
Vue.prototype.qs = qs;


new Vue({
    router,
    // store,
    render: h => h(App)
}).$mount('#app')